package com.woniu.stafforder;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@Slf4j
@MapperScan("com.woniu.stafforder.mapper")
@EnableFeignClients("com.woniu.common.feignClient")
@EnableDiscoveryClient
public class StaffOrderApplication{
    public static void main(String[] args) {
        SpringApplication.run(StaffOrderApplication.class);
    }
}
